﻿namespace TfsWrapper
{
    public abstract class OutputPrinter<T> : IOutputPrinter<T>
    {
        protected IOutputWriter Output { get; private set; }

        protected OutputPrinter(IOutputWriter output)
        {
            Output = output;
        }

        public abstract void Print(T value);

        public void PrintNewLine()
        {
            Output.WriteLine();
        }
    }
}